﻿//
// (C) Copyright 2009 Irantha Suwandarathna (irantha@gmail.com)
//

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EffiProz.Core.DataTypes;


namespace EffiProz.Core.RowIO
{
    /**
 * Public interface for reading the data for a database row.
 *
 * @author sqlbob@users (RMP)
 * @author fredt@users
 * @version 1.7.2
 * @since 1.7.0
 */
    public interface RowInputInterface
    {

        int getPos();

        int getSize();

        int readType();

        String readString();

        short readShort();

        int readInt();

        long readLong();

        Object[] readData(SqlType[] colTypes);

        void resetRow(int filePos, int size);

        byte[] getBuffer();
    }
}

